<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <title>Document</title>
    <link rel="stylesheet" href="/lib/mui/css/mui.css">
    <link rel="stylesheet" href="/lib/font-awesome-4.7.0/css/font-awesome.css">
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/index.css">
</head>

<body>
    <!-- 头部开始 -->
    <div class="head">
        <div class="mui-input-row mui-search">
            <input type="search" class="mui-input-clear" placeholder="">
        </div>
    </div>
    <!-- 头部结束 -->
    <!-- 内容部分开始 -->
    <div class="view">
        <!-- 轮播图开始 -->
        <div class="index-slider">
            <div class="mui-slider">
                <!-- <div class="mui-slider-group mui-slider-loop"> -->
                <!--支持循环，需要重复图片节点-->
                <!-- <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="http://140.143.222.79:8888/full/banner3.png" /></a></div>
                    <div class="mui-slider-item"><a href="#"><img src="http://140.143.222.79:8888/full/banner1.png" /></a></div>
                    <div class="mui-slider-item"><a href="#"><img src="http://140.143.222.79:8888/full/banner2.png" /></a></div>
                    <div class="mui-slider-item"><a href="#"><img src="http://140.143.222.79:8888/full/banner3.png" /></a></div> -->

                <!--支持循环，需要重复图片节点-->
                <!-- <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="http://140.143.222.79:8888/full/banner1.png" /></a></div>
                </div> -->

            </div>
        </div>
        <!-- 轮播图结束 -->
        <!-- nav导航菜单 -->
        <div class="nav">

            <!-- <a href="javascript:;"> <img src="http://140.143.222.79:8888/full/icon_index_nav_4@2x.png" alt="" srcset=""> </a>
            <a href="javascript:;"> <img src="http://140.143.222.79:8888/full/icon_index_nav_4@2x.png" alt="" srcset=""> </a>
            <a href="javascript:;"> <img src="http://140.143.222.79:8888/full/icon_index_nav_4@2x.png" alt="" srcset=""> </a> -->
        </div>
        <!-- 商品列表开始 -->
        <div class="index_goodlist">


        </div>
        <!-- 商品列表end -->
    </div>
    <!-- 内容部分结束 -->
    <!-- 底部部分开始 -->
    <div class="footer">
        <a href="/index.html">
            <span class="fa fa-home"></span>
            <span class="link">首页</span>
        </a>
        <a href="/pages/category.html">
            <span class="fa fa-list-ul"></span>
            <span class="link">分类</span>
        </a>
        <a href="javascript:;">
            <span class="fa fa-shopping-cart"></span>
            <span class="link">购物车</span>
        </a>
        <a href="javascript:;">
            <span class="fa fa-user-circle-o"></span>
            <span class="link">我的</span>
        </a>
    </div>
    <!-- 底部部分结束 -->



    <!-- 模板 -->
    <!-- 轮播图模板开始 -->
    <script type="text/html" id="swiperTmp">
        <div class="mui-slider-group mui-slider-loop">
            <!--支持循环，需要重复图片节点-->
            <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="{{arr[arr.length-1].image_src}}" /></a></div>
            {{each arr value index}}
            <div class="mui-slider-item"><a href="#"><img src="{{value.image_src}}" /></a></div>

            {{/each}}

            <!--支持循环，需要重复图片节点-->
            <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="{{arr[0].image_src}}" /></a></div>
        </div>
        <div class="mui-slider-indicator">
            {{each arr value index}}
                {{if index==0}}
                <div class="mui-indicator mui-active"></div>
                {{/if}}
                {{if index !=0}}
                <div class="mui-indicator"></div>
               {{/if}}
             {{/each}}   
            </div>
</script>
    <!-- 轮播图模板结束 -->
    <!-- 导航菜单栏模板开始 -->
    <script type="text/html" id="navTmp">
    {{each arr value index}}
    <a href="javascript:;"> <img src="{{value.image_src}}" alt="" srcset=""> </a>
    {{/each}}
</script>
    <!-- 导航菜单栏模板结束 -->
    <!-- 商品列表 -->
    <script type="text/html" id="goodsTmp">
    {{each arr value index}}
    <div class="goods_groud">
        <div class="goods_title"><img src="{{value.group_img}}" alt="" srcset=""></div>

        <ul class="goods_content">
            {{each value.goods subvalue index}}
            <li>
                <div class="desc">
                    <a href="javascript:;">
                        <img src="{{subvalue.goods_small_logo}}" alt="">
                        <div class="goods_name">{{subvalue.goods_name}}</div>
                        <div class="goods_price">￥{{subvalue.goods_price}}</div>
                    </a>
                </div>
                <div class="goods_likes">
                    <a href="javascript:;" class="mui-btn mui-btn-primary mui-btn-outlined">找相似</a>
                    
                </div>
            </li>
           {{/each}}
        </ul>
    </div>
    {{/each}}


</script>
    <!-- 商品列表 -->
</body>

</html>
<script src="/lib/mui/js/mui.js"></script>
<script src="/lib/zepto/zepto.js"></script>
<script src="/lib/arttemplate/template-web.js"></script>
<script src="/js/common.js"></script>
<script src="/js/index.js"></script>